package com.inforich.orderManage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.inforich.orderManage.domain.Transport;

/**
 * 运输Mapper接口
 *
 * @author hjm
 * @date 2022-10-26
 */
@Mapper
public interface TransportMapper extends BaseMapper<Transport> {

  /**
   * 分页列表
   */
  Page<Transport> pageTransport(Page<Transport> page, @Param("map") Map<String, Object> map);

  /**
   * 列表
   */
  List<Transport> listTransport(@Param("map") Map<String, Object> map);

  Transport selectTransportById(String id);

  int insertTransport(Transport transport);

  int updateTransport(Transport transport);

  List<Transport> listByBookingId(String bookingId);
}
